package com.ten.mall.mapper;

import com.ten.mall.vo.Pihao;
import com.ten.mall.vo.PihaoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PihaoMapper {
    int countByExample(PihaoExample example);

    int deleteByExample(PihaoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Pihao record);

    int insertSelective(Pihao record);

    List<Pihao> selectByExample(PihaoExample example);

    Pihao selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Pihao record, @Param("example") PihaoExample example);

    int updateByExample(@Param("record") Pihao record, @Param("example") PihaoExample example);

    int updateByPrimaryKeySelective(Pihao record);

    int updateByPrimaryKey(Pihao record);
}